﻿using System;
using System.Collections.Generic;
using System.Text;
using IceDog.DNC.Program.Autofac.Services;

namespace IceDog.DNC.Program.Autofac.Repository
{
    public class DateTimeRepository : IDateTimeRepository
    {
        public void Write(string content)
        {
            IOutputService output = new ConsoleOutputService();
            IDateWriterService dateWriter = new TodayWriterService(output);
            dateWriter.WriteDate();
        }
    }
}
